#ifndef HTF_RESOURCE_MANAGER_H
#define HTF_RESOURCE_MANAGER_H

#include <stdint.h>
#include <stddef.h>

typedef struct htf_resource {
    void* data;
    size_t size;
    int is_secure;
} htf_resource_t;

htf_resource_t* htf_load_resource_secure(const char* path, const uint8_t* key, size_t key_len);
void htf_release_resource(htf_resource_t* res);

#endif